import { PageHeader } from "antd";
import Navgation from "./Navgation";

export default function Layout({ children, title, subTitle }) {
    return (
        <div>
            <Navgation />
            <PageHeader className={'jumbotron'} title={title} subTitle={subTitle} />
            <div style={{width: '85%', margin: '0 auto'}}>{children}</div>
        </div>
    )
}